package com.zjy.system.service.impl;

import com.zjy.basic.service.impl.BaseServiceImpl;
import com.zjy.system.domain.Systemdictionarytype;
import com.zjy.system.mapper.SystemdictionarytypeMapper;
import com.zjy.system.service.SystemdictionarytypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
public class SystemdictionarytypeServiceImpl extends BaseServiceImpl<Systemdictionarytype> implements SystemdictionarytypeService {

    @Autowired
    private SystemdictionarytypeMapper systemdictionarytypeMapper;
    /**
     * 删除
     * @param id
     */
    @Override
    @Transactional
    public void del(Long id) {
        systemdictionarytypeMapper.deld(id);
        systemdictionarytypeMapper.del(id);
    }
}
